#include "interface.h"

void mainWindow_destroy(GtkWidget *widget, gpointer data)
{
	gtk_main_quit();
}

void launchGTKInterface(int argc, char * argv[])
{
	GtkWidget * mainWindow;

	gtk_init(&argc, &argv);

	mainWindow = gtk_window_new(GTK_WINDOW_TOPLEVEL);
	g_signal_connect(GTK_OBJECT(mainWindow), "destroy", GTK_SIGNAL_FUNC(mainWindow_destroy), NULL);
	gtk_widget_show(mainWindow);

	gtk_main();
}
